package com.huowenjie.api;

import com.netflix.ribbon.proxy.annotation.Hystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name="ribbon02",fallback = TestFallBack.class)
public interface TestApi {

    @RequestMapping("/test002/{name}")
    public String test002(@RequestParam(name = "name") String name);

}
